{:W('Template/top')}
<div class="wrapper clearfix content" style="position: relative;border: 1px solid #ddd">
    {:W('Template/left')}
    <div class="rightbox pull-right">
        <div class="ur-here">您当前的位置：<a href="#">代理商管理</a>&gt;意见反馈-顾问</div>
        <div class="cTitle2">供应商列表</div>
        <in name="Think.session.role_id" value="$operatorData">
            <input type="hidden" class="operatorId" value="{$oid}">

            <div class="status">
                <label>运营商：</label>
                <a class="nav-operator-state nav-operator-state0"
                   href="{:U('Agency/adviser_feedback', array('id' => I('get.id'), 'oid' => 0))}" style="margin-left:5px;">全部
                </a>
                <foreach name="operatorList" item="vo">
                    <a class="nav-operator-state nav-operator-state{$vo.id}"
                       href="{:U('Agency/adviser_feedback', array('id' => I('get.id'), 'oid' => $vo['id']))}">{$vo.display_name}
                    </a>
                </foreach>
            </div>
        </in>
        <div class="main-search">
            <div class="top clearfix">
                <form method="get" action="{:U('Agency/adviser_feedback',array('id' => I('get.id'), 'oid' => I('get.oid')))}" class="form-inline">
                    <div class="form-group">
                        <input type="text" class="form-control" name="names" placeholder="请输入顾问简称/全称" value="{$name}"/>
                    </div>
                    <button type="submit" class="btn btn-warning">查询</button>
                </form>
            </div>

            <form class="pull-right" style="padding-bottom: 5px;">
                <input id="chkr" type="hidden" value="{:U('Agency/deleteAdviserFeedback')}"/>
                <button type="button" class="btn btn-danger" onclick="jqchk()">删除</button>
            </form>
            <p></p>

            <form method="post" action="{:U('GetApplyExcel/getAdviserFeedbackExcel',array('id' => I('get.id'), 'oid' => I('get.oid')))}">
                <input type="hidden" name="sname" value="{$name}">
                <input type="submit" class="btn btn-success" value="导出生成Excel">
            </form>
        </div>
        <table class="cTable table-hover" width="100%">
            <tr>
                <th width="3%" style="padding-left:5px;"><input type="checkbox" id="male" onclick="selectAll(this);"/>&nbsp;<label
                        for="male" style="font-weight: bold"></label></th>
                <th width="5%">编号</th>
                <if condition="($Think.session.role_id eq 1) or ($Think.session.role_id eq 185)">
                    <th width="5%">运营商</th>
                </if>
                <th width="5%">客户</th>
                <th width="5%">顾问</th>
                <th width="10%">评星</th>
                <th width="15%">意见反馈内容</th>
            </tr>
            <volist name='info' id='v'>
                <tr>
                    <td style="padding-left:10px;text-align: left"><input name="subBox" type="checkbox"
                                                                          class="checkitem" value="{$v.id|setEncrypt}"/>
                    </td>
                    <td>{$v.id}</td>
                    <if condition="($Think.session.role_id eq 1) or ($Think.session.role_id eq 185)">
                        <td>{$v.operator_id|getOperatorName}</td>
                    </if>
                    <td>{$v.agency_name}</td>
                    <td>{$v.cover_commnet_name}</td>
                    <td>{$v.star}</td>
                    <td>{$v.comm_content}</td>
                 
                </tr>
            </volist>
        </table>
        <notempty name="info">
            <div class="pagebox">
                {$page}
            </div>
        </notempty>
    </div>
</div>

<div class="theme-popover-mask"></div>
{:W('Template/bottom')}
<script type="text/javascript" src="__PUBLIC__/js/providerInfo.js?v=7"></script>
</body>
</html>